/**
 * Created by ibm on 2018/12/27.
 */
public class AAA
{
    public static void main(String[] args)
    {
        long x = System.currentTimeMillis();
        int sum = 0;
        for (int i = 0; i < Integer.MAX_VALUE; i++)
        {
            sum += i;
        }
        System.out.println(Integer.MAX_VALUE);
        System.out.println(sum);
        long y = System.currentTimeMillis();
        System.out.println(y - x);
    }
}
